#ifndef WGT_DISPLAY_H
#define WGT_DISPLAY_H

#include <QWidget>
#include <QImage>


namespace Ui {
class Wgt_Display;
}

class Wgt_Display : public QWidget
{
    Q_OBJECT

public:
    explicit Wgt_Display(QImage* image, QWidget *parent = 0);
    ~Wgt_Display();

protected:
    void paintEvent(QPaintEvent *);

private:
    QImage* videoFrame;
    Ui::Wgt_Display *ui;
};


#endif //WGT_DISPLAY_H
